// 画动画帧
function getAnmKeys(linePath) {
  // 动画帧数组
  let keys = [];
  for (let i = 0; i < linePath.length; i++) {
    const linePoint = linePath[i];
    keys.push({
      frame: 0 + i * (100 / linePath.length),
      value: linePoint
    });
  }
  return keys;
}

export default getAnmKeys;
